package com.group.transaction.service.permission;

import com.alibaba.fastjson.JSONObject;
import com.group.transaction.model.ResultJson;

import java.util.Set;

/**
 * @author YunXing Pang
 * @date 2020/4/2
 */
public interface PermissionService {

    Set<String> selectValuesByUsername(String username);

    /**
     * 查询权限信息
     * @return
     */
    JSONObject queryAllPermissionData();

    /**
     * 根据角色id查询权限
     * @return
     */
    JSONObject queryPermissionByRoleId(Integer roleId);

}
